<template>
  <div>
    inject component

    father :{{myProvide.status}}
  </div>
</template>

<script>
export default {
  // inject: ['disabled'],
  inject:{
    myProvide:{
      default: ''
    }
  },
  watch:{
    myProvide:{
      handler(n){
        console.log(n)
      },
      immediate: true
    }
  }
}
</script>

<style>

</style>